HOSTNAME = "http://pro.jfpal.com"
MEDIA_URL = 'http://proe.jfpal.com/' 

SITE_ID = 1
DEBUG = True
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'store',
        'USER': 'store',
        'PASSWORD': '68Nkw29zF7rG',
        'HOST': 'rdsebinb2qeub2y.mysql.rds.aliyuncs.com',
        'PORT': '3306',

    }
}


##aliyun OSS
#see more: https://github.com/volterra-luo/django-oss-storage
DEFAULT_FILE_STORAGE = 'aliyun_oss.backends.oss.OSSStorage'
OSS_ACCESS_URL = 'oss-cn-hangzhou.aliyuncs.com'
OSS_ACCESS_KEY_ID = "ykNh9D2PwYu0qBjn"
OSS_SECRET_ACCESS_KEY = "pZhqoyR4Niw2TfuJM1bOBJMa0VysC5"
OSS_STORAGE_BUCKET_NAME = "proimage"
OSS_HEADERS = {
'Cache-Control': 'max-age=31536000',
}
OSS_DEFAULT_ACL = "public-read"

